<?php 

//Shows a modification

$query = "SELECT id AS \"ModifiedByID\", Name, Description FROM Modification";
if ($_GET['ModificationID'] != "") {
	$query .= " WHERE Modification.id = " . $_GET['ModificationID'];
}
$linkArray = array('ModifiedByID' => 'Home.php');
$result = mysql_query($query);
$line = mysql_fetch_array($result, MYSQL_ASSOC);

$_POST['1']['Name'] = $line['Name'];
$_POST['1']['Description'] = $line['Description'];
require('./View/EditModification.php');



?>
<?php require('./View/Footer.php'); ?>